package com.cow.framework.core.config.parameter;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.cow.framework.core.cache.RedisUtil;

/**
 * 系统参数获取工具
 * 
 *  @author
 */
@Component
public class ParameterUtil {
	@Autowired
	private RedisUtil redisUtil;
	private ParameterUtil util;
	public String get(String paraName){
		Map<String,String> parameterMap = (Map<String,String>)redisUtil.get("sys_parameterMap");
		return parameterMap.get(paraName);
	}
}
